  <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                        Advertisers
                        <small>Control Panel</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                        <li><a href="#">Advertisements</a></li>
                        <li class="active">Manage</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
					<table class='table table-bordered adds'>
						<tr>
							<th>COMPANY NAME</th>
							<th>BANNER IMAGE</th>
							<th>ADDS LOCATION</th>
							<th>ADDS CAPTION</th>
							<th>ACTION</th>
						</tr>
						<?php if($ad == false): ?>
						<tr>
							<td colspan='5' style='text-align:center'> NO ADVERTISEMENT AT THE MOMENT</td>
						</tr>
						<?php else: ?>
							<?php foreach($ad as $adds): ?>
								<tr>
									<td><?php echo $adds->company_name; ?></td>
									<td><a href='<?php echo (strpos($adds->link, "http://") === false) ? "http://".$adds->link:$adds->link; ?>' target='_blank'><img class='banner-ads'  src="<?php echo site_url($adds->banner_img); ?>" /></a></td>
									<td><?php echo $adds->location; ?></td>
									<td><?php echo $adds->caption; ?></td>
									<td>
									<a id="id_doEdit" href="edit/7/11">
										<img src="<?php echo site_url('skins/img/pencil.png') ?>"/>
									</a>
									</td>
								</tr>
							<?php endforeach; ?>
						<?php endif; ?>
					</table>
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->